#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <climits>
#include <limits.h>
#include <math.h>
#include <sstream>

using namespace std;

typedef vector<vector<double> > mdouble;

void readFile(vector<int>&X, string file);
int sign(double x);
double uniformDouble();
double prod_punto(vector<double> &x, vector<int> &w);
void view_vi(vector<int>& v);
void view_vd(vector<double>& v);
vector<int> genTest(vector<int>& X,double probability);

